/*
 * @Author: xyq
 * @Date: 2021-02-22 17:28:07
 * @LastEditors: xyq
 * @LastEditTime: 2021-02-23 11:36:37
 * @FilePath: \little-eight\src\mobx\navgate\index.js
 */
import { observable, action } from 'mobx';
class navgate {
  @observable showkey = {
    navkey: '',
    subkey: 'shou',
  };
  @action changeCurrent(val) {
    this.showkey = {
      navkey: val.navkey,
      subkey: val.subkey,
    };
  }
}
export default navgate;
